using System;

namespace Atomic.Structures
{
	[Serializable]
	public class AtomMapping<T>
	{
		public AtomMapping(Atom atom, T value)
		{
			Atom = atom;
			Value = value;
		}

		public Atom Atom
		{
			get;
			private set;
		}

		public T Value
		{
			get;
			private set;
		}
	}

	[Serializable]
	public class AtomMapping : AtomMapping<double>
	{
		public AtomMapping(Atom atom, double value)
			: base(atom, value)
		{
		}
	}
}
